[PATCH] core: Add infrastructure for inhibiting suspend in jobs
This calls the freedesktop Inhibit interface on DBus which will
inhibit suspend (but not display power management/screensaver).
When inside a sandbox it instead calls the XDG Desktop Portal
Inhibit interface.
When a job is destroyed or gets suspended, the inhibition is lifted.
When a job is resumed, `doInhibitSuspend` is called again to re-instate
the inhibition.
It is the job's responsibility to call `doInhibitSuspend` at
the appropriate time (e.g. in doStart/slotStart).
Gbp-Pq: Name upstream_3c3d5904_core-Add-infrastructure-for-inhibiting-suspend-in-jobs.patch
Balló György [Fri, 4 Apr 2025 06:08:31 +0000 (08:08 +0200)]
[PATCH] KProcessRunner: Fix launching actions without executable
If D-Bus activation is possible, it's not needed to have an executable,
since everything is done via D-Bus. Therefore look for the matching action
name instead of the exec value when launching an action. The specification
allows to omit the "Exec" key if "DBusActivatable" is true.
Most applications specify the Exec parameter for compatibility reasons, but
if the action's "Exec" line got removed from a D-Bus activatable desktop
file, then KIO just activates the application rather than calling the
requested action. This change fixes that issue.
Gbp-Pq: Name upstream_31806c51_KProcessRunner-Fix-launching-actions-without-executable.patch
Pino Toscano [Sun, 8 Jun 2025 12:42:29 +0000 (14:42 +0200)]
On Hurd, do not look for functions unimplemented in libc
Last-Update: 2024-05-09
Forwarded: not-needed
The check_function_exists() function of cmake does not keep into account the
defines that glibc provides for the stubs (i.e. unimplemented functions that
always return ENOSYS), so some functions are detected as available.
Unfortunately, due to --fatal-warnings for the linker, linking will fail.
Hence, do not attempt to look for functions that are currently unimplemented
on GNU/Hurd's libc.